package com.scs.application.modules.device.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.scs.application.core.entity.DataEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 *  设备共享设置实体类
 */
@Data
@Accessors(chain = true)
@TableName("device_circulate_settings")
public class DeviceCirculateSettings extends DataEntity {
    // 设置类型
    private String setType;
    //device_ledger.id
    private String ledgerId;

    //设备租赁类别（取值参数（circulate_classify））
    private String circulateClassify;

    //结算方式 1：按次计算；2:按小时结算；3.按天结算
    private String costClassify;

    //结算比例
    private String costRatio;

    //结算价格
    private Double costPrice;

    //已借用
    private Integer flagCirculate;

    //累计结算数量
    private Double accuQuantity;

    //累计结算金额
    private Double accuAmount;

    //设备所属科室ID
    private String belongDeptId;

    //设备所属科室名称
    private String belongDeptName;

    //借用科室ID
    private String borrowDeptId;

    //借用科室名称
    private String borrowDeptName;

    //借用时间
    private Date borrowTime;

    //预计归还时间
    private Date expectTime;

    //备注
    private String remarks;

    //设备名称
    private String deviceName;

    //设备编码
    private String deviceCode;

    //设备标签
    private String deviceSn;

    //库存Id
    private String stockId;


    //商品规格
    private String matrSpec;

    //厂家
    private String mfgName;

    //单价
    private String skuPrice;

    //单品数量
    private String skuQty;

    //适配设备名称
    private String adapterDeviceName;

    //适配设备型号
    private String adapterDeviceSpec;


}